import abs from './absrightmenuitemaction.js'
class LockAction extends abs.IRightMenuItemAction {
    constructor(map) {
        super(map);
    }
    act2Click(evt, subitem) {
        console.log("LockAction:xxx---------");
        if (subitem == "lock")
            this.mapctrl.m_pEditINTF.lockGraph(0, 1, 0);
        else
            this.mapctrl.m_pEditINTF.lockGraph(0, 0, 0);
    }
}

export default { LockAction }